package com.jccfc.domain.sms;

import java.io.Serializable;

/**
 * http短信 响应体
 */
public class SmsRepBodyEntity implements Serializable {

    //是否成功 true：成功;false：失败
    private boolean state;
    //回执编码("0000","短信发送成功"),
    //("e001","短信异常"),
    //("w001","模板与APPCODE不匹配"),
    //("w002","appCode和秘钥不匹配")
    private String code;
    //返回消息
    private String message;
    //返回数据
    private Object data;

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "SmsRepBodyEntity{" +
                "state=" + state +
                ", code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

}
